package com.lmy.common.exception;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum BizCodeEnum {
    // 通用异常
    UNKOWN_EXCEPTION(10000,"系统未知异常"),
    PRODUCT_UP_EXCEPTION(110000,"商品上架异常"),
    VAILID_EXCEPTION(10001,"参数格式校验失败");

    private int code;       // 响应状态码
    private String message;     // 响应信息
}
